package crmdna.list_do_not_use;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;

@Entity
public class ListEntity {

	@Id
	long listId;

	@Index
	String name;
	String displayName;
	@Index
	long groupId;

	int numShards;
	int numElements;

	ListProp toProp() {
		ListProp listProp = new ListProp();
		listProp.listId = listId;
		listProp.groupId = groupId;
		listProp.name = name;
		listProp.displayName = displayName;
		listProp.numElements = numElements;

		return listProp;
	}
}
